import nav from './config/nav';
import sidebar from './config/sidebar';

const vite_project_root = '/icons'

export const config = {
  base: `${vite_project_root}`,
  assetsDir: 'public',
  title: 'HiveIconsVue',
  description: '集成内部通用Icon图标库等',
  themeConfig: {
    logo: '/images/logo.png',
    search: {
      provider: 'local'
    },
    nav,
    sidebar,
    docFooter: {
      prev: '上一篇',
      next: '下一篇'
    },
    // 配置github地址
    socialLinks: [
      {
        icon: "github",
        link: "https://gitee.com/donymh/hive-icons-vue.git"
      }
    ],
    footer: {
      message: "内容由donymh提供，如有疑问，请微信联系lmingh6",
      copyright: "Donymh © 2024-04-07",
    },
    outlineTitle: '本页目录',
    outline: [2, 6]
  },
  lastUpdated: true,
  markdown: {
    lineNumbers: false
  },
  head: [
    [
      'link', { rel: 'icon', href: `${vite_project_root}/favicon.ico` },
      'meta', {
        name: 'keywords', content: 'HTML, CSS, JavaScript, Vue3, 模板, template, pinia, vite, Icon图标库'
      }
    ], // 也是放在/public目录中
  ]
}
export default config
